import React ,{Component} from 'react'

import {View,Text,StyleSheet} from 'react-native'

export default class Detail extends Component{
  static navigationOptions = {
    title:'detail',
  };
  render(){
    return <View style={MyStyle.container}>
      <Text style={MyStyle.text}>detail</Text>
    </View>
  }
}

const MyStyle = StyleSheet.create({
  container:{
    flex:1,
    justifyContent:'center',
    alignItems:'center'
  },
  text:{
    fontSize:50,
    textAlign:'center',
    color:'red'
  }
});